package cn.yanghan.dto;

import cn.yanghan.domain.Employee;
import cn.yanghan.domain.Tenant;
import lombok.Data;

import javax.validation.constraints.NotNull;

//接受企业入驻参数
@Data
public class TenantEnteringDto {
    @NotNull(message = "管理员信息不能为null")
    private Employee employee;
    @NotNull(message = "租户信息不能为null")
    private Tenant tenant;
    @NotNull(message = "套餐不能为null")
    private Long mealId;
}